gnukfreebsd_linker_warnings
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Sun, 20 Oct 2019 19:33:00 +0000 (20:33 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 20 Oct 2019 19:33:00 +0000 (20:33 +0100)
Gbp-Pq: Name gnukfreebsd_linker_warnings.diff

src/corelib/configure.json

index de8d26a12b2e2399cc58b179535fd60c1b8e302f..04f0695e1c6299764df76739660c3c2e79890e2d 100644 (file)
             "label": "O_CLOEXEC",
             "type": "compile",
             "test": {
+                "qmake": "QMAKE_LFLAGS += -Wl,--fatal-warnings",
                 "head": "#define _GNU_SOURCE 1",
                 "include": [ "sys/types.h", "sys/socket.h", "fcntl.h", "unistd.h" ],
                 "main": [
                 "include": "sys/stat.h",
                 "main": "futimens(-1, 0);",
                 "qmake": [
+                    "QMAKE_LFLAGS += -Wl,--fatal-warnings",
                     "# Block futimens() on Apple platforms unless it's available on ALL",
                     "# deployment targets. This simplifies the logic at the call site",
                     "# dramatically, as it isn't strictly needed compared to futimes().",
             "label": "getentropy()",
             "type": "compile",
             "test": {
+                "qmake": "QMAKE_LFLAGS += -Wl,--fatal-warnings",
                 "include": "unistd.h",
                 "main": [
                     "char buf[32];",